/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.utn.searchengineui;

import com.spider.jspiderlibrary2.Communicator;

/**
 *
 * @author altamirano,peker,liberal
 */
public class ReturnDataRunnable extends Thread {

    private GUIManager gestor;

    public ReturnDataRunnable(GUIManager gestor) {
        this.gestor = gestor;
    }

    public void run() {
        while (Communicator.crawl == true) {
            int i = Communicator.totalLinks;
            gestor.returnDataLabel((i + ""));
        }
    }
}
